const mongoose = require('mongoose');

const Schema = mongoose.Schema;
const userSchema = new Schema({
    name:{type:String,require:true},
    password:{type:String,require:true},
    repeatpassword:{type:String,require:true},
    type:{type:String,require:true},
    avatar:{type:String},
    title:{type:String},
    company:{type:String},
    paymoney:{type:String},
    ask:{type:String},
    skills:{type:String},
    desc:{type:String},
    position:{type:String}
})
mongoose.model('userSchema',userSchema);